// renderer.js

// 录制视频的按钮
const recordButton = document.getElementById('recordButton');
// 停止录制的按钮
const stopButton = document.getElementById('stopButton');

recordButton.addEventListener('click', () => {
  window.electronAPI.startRecording();
});

stopButton.addEventListener('click', () => {
  window.electronAPI.stopRecording();
});